package com.yeyks.activity.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 活动列表
 * </p>
 *
 * @author shuai
 * @since 2019-11-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ActivityList对象", description="活动列表")
public class ActivityList implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "标题")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "活动编号")
    @TableField("activity_code")
    private String activityCode;

    @ApiModelProperty(value = "0:不可用  1：可用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "活动结束时间")
    @TableField("end_time")
    private Date endTime;

    @ApiModelProperty(value = "APP内站内规则文案")
    @TableField("note_app")
    private String noteApp;

    @ApiModelProperty(value = "小程序h5规则文案")
    @TableField("note_h5")
    private String noteH5;

    @ApiModelProperty(value = "活动备注说明")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "创建日期")
    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "操作人id")
    @TableField("operator_id")
    private Integer operatorId;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String ACTIVITY_CODE = "activity_code";

    public static final String STATUS = "status";

    public static final String END_TIME = "end_time";

    public static final String NOTE_APP = "note_app";

    public static final String NOTE_H5 = "note_h5";

    public static final String REMARK = "remark";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    public static final String OPERATOR_ID = "operator_id";

}
